<extend name="Base/common"/>
<block name="head_css">
<link href="__PUBLIC__/Green/css/usercenter.css" rel='stylesheet' type='text/css' />
</block>
<block name="head_script">
<script type="text/javascript" src="__PUBLIC__/Green/js/usercenter.js"></script>
</block>
<block name="body">
    <div class="width1000">
        <div class="top_tit">
            <a href="{:U('User/index')}">用户中心</a> &gt;&gt; <a href="{:U('User/exchange')}">车币兑换</a> &gt;&gt; 兑换历史
        </div>
        <div class="clearfix relative">
            <include file="User/nav" />
            <div class="user_center">
                <div class="user_exchange">
                    <div class="withdraw_top">
                        兑换记录
                    </div>
                    <table class="table table-hover">
                        <thead>
                        <tr>
                            <th>
                                兑换时间
                            </th>
                            <th>
                                兑换商品
                            </th>
                            <th>
                                数量
                            </th>
                            <th>
                                金额(元)
                            </th>
                            <th>
                                状态
                            </th>
                            <th>
                                更多
                            </th>
                        </tr>
                        </thead>
                        <tbody id="logs">
                        <empty name="logs">
                            <tr><td colspan="6">没有兑换记录</td></tr>
                        <else />
                        <volist name="logs" id="item">
                        <tr>
                            <td>
                                {$item.posttime}
                            </td>
                            <td>
                                {$item.goods_name}
                            </td>
                            <td>
                                {$item.num}
                            </td>
                            <td>
                                {$item.amt}
                            </td>
                            <td>
                                {$item.status_text}
                            </td>
                            <td>
                                <a href="{$item.url}" class="exchange_link">详情</a>
                            </td>
                        </tr>
                        </volist>
                        </empty>
                        </tbody>
                    </table>
                </div>
            </div>
        </div>
    </div>
    
</block>    
<block name="script">
<script type="text/javascript" src="__PUBLIC__/Green/js/insurance.js"></script>
<script type="text/javascript">
    highlight_nav("{:U('User/exchange')}");
</script>
</block>
